package com.deram.ctin.serv.business.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@ApiModel(description = "司法拍卖")
public class BusinessJudicialSale implements Serializable {

    @ApiModelProperty(value = "ID")
    private Long id;
    @ApiModelProperty(value = "拍卖名称")
    private String auctionName;
    @ApiModelProperty(value = "拍卖号")
    private String auctionCode;
    @ApiModelProperty(value = "起拍价")
    private BigDecimal startingPrice;
    @ApiModelProperty(value = "拍卖日期")
    private Date saleDate;
    @ApiModelProperty(value = "处置法院")
    private String court;
    @ApiModelProperty(value = "企业ID")
    private Long enterId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAuctionName() {
        return auctionName;
    }

    public void setAuctionName(String auctionName) {
        this.auctionName = auctionName == null ? null : auctionName.trim();
    }

    public BigDecimal getStartingPrice() {
        return startingPrice;
    }

    public void setStartingPrice(BigDecimal startingPrice) {
        this.startingPrice = startingPrice;
    }

    public Date getSaleDate() {
        return saleDate;
    }

    public void setSaleDate(Date saleDate) {
        this.saleDate = saleDate;
    }

    public String getCourt() {
        return court;
    }

    public void setCourt(String court) {
        this.court = court == null ? null : court.trim();
    }

    public Long getEnterId() {
        return enterId;
    }

    public void setEnterId(Long enterId) {
        this.enterId = enterId;
    }

    public String getAuctionCode() {
        return auctionCode;
    }

    public void setAuctionCode(String auctionCode) {
        this.auctionCode = auctionCode;
    }

    @Override
    public String toString() {
        return "BusinessJudicialSale{" +
                "id=" + id +
                ", auctionName='" + auctionName + '\'' +
                ", auctionCode='" + auctionCode + '\'' +
                ", startingPrice=" + startingPrice +
                ", saleDate=" + saleDate +
                ", court='" + court + '\'' +
                ", enterId=" + enterId +
                '}';
    }
}